﻿using SQLite;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace StockTradTest.Data
{
    //投资者数据库结构
    public class Investor
    {

        [PrimaryKey, AutoIncrement]
        #region 属性
        public int ID { get; set; }
        /// <summary>数据日期</summary>
        public int Date { get; set; }

        /// <summary>新增投资者数（万）/新开股票账户数（万户）</summary>
        public double newInvestors { get; set; }

        /// <summary>期末投资者数（万）/期末有效账户数（万户）</summary>
        public double aliveInvestors { get; set; }
        /// <summary>登记存管证券只数(只)</summary>
        public double stockNumber { get; set; }

        /// <summary>登记存管证券总面值(亿元)</summary>
        public double stockPrice{ get; set; }

        /// <summary>登记存管证券总市值(亿元)</summary>
        public double stockMarketPrice { get; set; }

        /// <summary>登记存管流通市值（亿元）/非限售市值(亿元)</summary>
        public double OnSellPrice { get; set; }

        /// <summary>过户总笔数（万笔）</summary>
        public double transferNum { get; set; }

        /// <summary>过户总金额（亿元）</summary>
        public double transferPrice { get; set; }

        /// <summary>结算总额（亿元）</summary>
        public double closeAllPrice { get; set; }

        /// <summary>结算净额 (亿元)</summary>
        public double closeNetPrice { get; set; }

        #endregion
    }

}
